import request from '@/utils/request'


export function delRoadSign(roadId) {
  return request({
    url: '/road-sign/'+roadId,
    method: 'delete'
  })
}

// 修改
export function roadSignUpdate(data) {
  return request({
    url: '/road-sign/update',
    method: 'put',
    data: data
  })
}
// 查询地名指示牌信息详细
export function getRoad(roadId) {
  return request({
    url: '/road-sign/id?roadId=' + roadId,
    method: 'get'
  })
}

// 查询记录
export function listRoadSign(query) {
  return request({
    url: '/road-sign/sel',
    method: 'get',
    params: query
  })
}



// 增加地名指示牌信息
export function addRoadSign(data) {
  return request({
    url: '/road-sign',
    method: 'post',
    data
  })
}


